package com.cxy.controller.admin;

import com.cxy.dto.RecordDTO;
import com.cxy.dto.RecordPageDTO;
import com.cxy.result.PageResult;
import com.cxy.result.Result;
import com.cxy.service.RecordService;
import com.cxy.vo.RecordVO;
import com.cxy.vo.SeeAssessVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 评议记录管理业务功能
 */
@Api(tags = "评议记录管理")
@RestController
@RequestMapping("/record")
@Slf4j
public class RecordController {
    @Autowired
    private RecordService recordService;
    /**
     * 查看评议记录
     */
    @ApiOperation("评议记录管理分页查询")
    @GetMapping("/selectAll")
    public Result<PageResult> selectAll( RecordPageDTO recordPageDTO){
        PageResult records=recordService.selectAll(recordPageDTO);
        return Result.success(records);
    }



}
